import { defineStore } from 'pinia';

export const useInfoStore = defineStore('info', {
	state: () => {
		return { 
      token: ''
    };
	},
	// 也可以这样定义
	// state: () => ({ count: 0 })
	actions: {
		SETTOKEN (data) {
			this.token = data
		}
	},
});
